﻿using Microsoft.Practices.Prism.Logging;
using Microsoft.Practices.Prism.Mvvm;
using Microsoft.Practices.Prism.PubSubEvents;
using Microsoft.Practices.Prism.Regions;
using Microsoft.Practices.Unity;

namespace FM.Services
{

    /// <summary>
    /// 可更新界面的,T为Model
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class Vm基类<T> : BindableBase
    {
        private T _model;
        public T Model
        {
            get { return _model; }
            set { SetProperty(ref _model, value); }
        }

        public ILoggerFacade log { get; set; }
        public IEventAggregator 新闻部 { get; set; }
        public IUnityContainer 人事部 { get; set; }
        public IRegionManager 行政部 { get; set; }
    }
}
